﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// TeachingMaterial:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class TeachingMaterial
    {
        public TeachingMaterial()
        { }
        #region Model
        private int _id;
        private string _subjectcode;
        private string _gradecode;
        private int? _type;
        private string _version;
        private string _subversion;
        private int? _upordown;
        private int? _schoolid = 0;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SubjectCode
        {
            set { _subjectcode = value; }
            get { return _subjectcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string GradeCode
        {
            set { _gradecode = value; }
            get { return _gradecode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Version
        {
            set { _version = value; }
            get { return _version; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SubVersion
        {
            set { _subversion = value; }
            get { return _subversion; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? UpOrDown
        {
            set { _upordown = value; }
            get { return _upordown; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? SchoolID
        {
            set { _schoolid = value; }
            get { return _schoolid; }
        }
        #endregion Model

    }
}
